<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="file" class="inpFile">
</body>
<script  src="./js/大文件分片/curFile.js"></script>
<script>
    const inpFile = document.querySelector(".inpFile");
    inpFile.addEventListener("change",(ev)=>{
        let file = ev.target.files[0];
        
    })
    curFile();
</script>
</html>